package com.softtown.modules.sys.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 公司员工信息
 *
 * @author Dingyayong
 * @version v1.0
 * @create 2019-09-12 00:01
 **/
@Data
@ApiModel(value = "加入许可分页")
public class CompSysUserEmplInfoDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "公司id")
    @NotNull(message="{compId.require}")
    private Long compId;

    @ApiModelProperty(value = "用户id")
    @NotNull
    private Long userId;
}

